home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / cli / nvtools.rea < prev    next >
Text File  |  1995-10-05  |  2KB  |  62 lines

  1. Short:        Shell access to 'nonvolatile.library'
  2. Author:       Stefan Le Breton (slbrbbbh@sp.zrz.TU-Berlin.de)
  3. Uploader:     Stefan Le Breton (slbrbbbh@sp.zrz.TU-Berlin.de)
  4. Version:      1.0
  5. Type:         util/cli
  6. Copyright:    ©1995 Stefan Le Breton
  7. Distribution: free
  8. Restrictions: no military or life critical use, complete archive
  9. Requires:     OS 2.0+ nonvolatile.library (OS 3.1)
  10. Archive:      NVUtils.lha
  11. Date:         30.09.95
  12. Downloader:   probably YOU :)
  13.  
  14. --8<--
  15.  
  16.     NVUtils
  17.     ¯¯¯¯¯¯¯
  18.     nonvolatile.library is not limited to installed NVRAM as most people might think.
  19.     It searches a file prefs/env-archive/sys/nv_location on every disk, if found
  20.     the contents is interpreted as a path to a directory, where the nonvolatile
  21.     data is saved.
  22.  
  23.     All data that is stored with application and an individual name for it.
  24.     Names are limited to legal filenames.
  25.     E.g. your application is 'MegaBonzo' and you store an item with the name 'cancel'
  26.     the actual data is 'true'. The library is not limited to ascii data, but
  27.     binary is not possible with shell access.
  28.     As there is the possibility that read/write errors occures, requesters might
  29.     pop up, this can be disabled with the KILLREQUESTER option.
  30.  
  31.     NVUtils provides access to every function of the library.
  32. ______________________________________________________________________________
  33. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  34.     SetNV <appname> <itemname> [KILLREQUESTER] <data>
  35.       Saves data.
  36.  
  37.     GetNV <appname> <itemname> [KILLREQUESTER]
  38.       Prints associated data.
  39.  
  40.     UnsetNV <appname> <itemname> [KILLREQUESTER]
  41.       Removes data.
  42.       If there was no such data, the returncode is set to 5 (WARN).
  43.  
  44.     ListNV <appname> [KILLREQUESTER]
  45.       Lists stored items for <appname>.
  46.       Delete protected items are marked with '*'.
  47.  
  48.     ProtectNV <appname> <itemname> [KILLREQUESTER] <prot>
  49.       (Un)Protects data from deletion.
  50.       <prot> is +d for protection, -d for no protection.
  51. ______________________________________________________________________________
  52. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  53. The programs need V37 (2.0).
  54. I don't know if the library requires V40 (OS 3.1), but if the library works
  55. with OS 2.0 #?NV will too.
  56.  
  57. Oberonsource is provided.
  58.  
  59. Yes, I know the binaries are quite large, but I just wanted to show what's possible...
  60.  
  61. -->8--
  62.